﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE
{
    public class VesselMainEngineModel
    {
        /// <summary>
        /// 主机功率时间戳
        /// </summary>
        public DateTime? MainEnginePowerKwTs { get; set; }

        /// <summary>
        /// 主机功率原始Td值
        /// </summary>
        public float? MainEnginePowerKwOrg { get; set; }

        /// <summary>
        /// 主机功率
        /// </summary>
        public string MainEnginePowerKw => MainEnginePowerKwOrg?.ToString();


        /// <summary>
        /// 主机负荷时间戳
        /// </summary>
        public DateTime? MainEngineLoadTs { get; set; }

        /// <summary>
        /// 主机负荷原始Td值
        /// </summary>
        public float? MainEngineLoadOrg { get; set; }

        /// <summary>
        /// 主机负荷
        /// </summary>
        public string MainEngineLoad => MainEngineLoadOrg?.ToString();


        /// <summary>
        /// 主机转速时间戳
        /// </summary>
        public DateTime? MainEngineSpeedRpmTs { get; set; }

        /// <summary>
        /// 主机转速原始Td值
        /// </summary>
        public float? MainEngineSpeedRpmOrg { get; set; }

        /// <summary>
        /// 主机转速
        /// </summary>
        public string MainEngineSpeedRpm => MainEngineSpeedRpmOrg?.ToString();


        /// <summary>
        /// 主机即时油耗时间戳
        /// </summary>
        public DateTime? MainEngineInstantTs { get; set; }

        /// <summary>
        /// 主机即时油耗原始Td值
        /// </summary>
        public float? MainEngineInstantOrg { get; set; }

        /// <summary>
        /// 主机即时油耗
        /// </summary>
        public string MainEngineInstant => MainEngineInstantOrg?.ToString();


    }
}
